home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / tools / Mesa-3.0 / SRC-GLUT / Makefile.cygnus < prev    next >
Encoding:
Makefile  |  1997-12-09  |  2.0 KB  |  110 lines

  1. # Makefile.cygnus for Cygnus-Win32 target
  2. # /Stephane Rehel, November 16 1997
  3.  
  4. # Makefile for GLUT 3.6
  5. #
  6. # NOTICE:  The OpenGL Utility Toolkit (GLUT) distribution contains source
  7. # code published in a book titled "Programming OpenGL for the X Window
  8. # System" (ISBN: 0-201-48359-9) published by Addison-Wesley.  The
  9. # programs and associated files contained in the distribution were
  10. # developed by Mark J. Kilgard and are Copyright 1994, 1995, 1996 by Mark
  11. # J. Kilgard (unless otherwise noted).  The programs are not in the
  12. # public domain, but they are freely distributable without licensing
  13. # fees.  These programs are provided without guarantee or warrantee
  14. # expressed or implied.
  15. #
  16. # GLUT source included with Mesa with permission from Mark Kilgard.
  17.  
  18.  
  19. ##### MACROS #####
  20.  
  21. GLUT_MAJOR = 3
  22. GLUT_MINOR = 6
  23.  
  24. VPATH = RCS
  25.  
  26. INCDIR = ../include
  27. LIBDIR = ../lib
  28.  
  29. SOURCES = \
  30.     glut_8x13.c \
  31.     glut_9x15.c \
  32.     glut_bitmap.c \
  33.     glut_bwidth.c \
  34.     glut_cindex.c \
  35.     glut_cmap.c \
  36.     glut_cursor.c \
  37.     glut_dials.c \
  38.     glut_dstr.c \
  39.     glut_event.c \
  40.     glut_ext.c \
  41.     glut_fullscrn.c \
  42.     glut_get.c \
  43.     glut_hel10.c \
  44.     glut_hel12.c \
  45.     glut_hel18.c \
  46.     glut_init.c \
  47.     glut_input.c \
  48.     glut_mesa.c \
  49.     glut_modifier.c \
  50.     glut_mroman.c \
  51.     glut_overlay.c \
  52.     glut_roman.c \
  53.     glut_shapes.c \
  54.     glut_space.c \
  55.     glut_stroke.c \
  56.     glut_swap.c \
  57.     glut_swidth.c \
  58.     glut_tablet.c \
  59.     glut_teapot.c \
  60.     glut_tr10.c \
  61.     glut_tr24.c \
  62.     glut_util.c \
  63.     glut_vidresize.c \
  64.     glut_warp.c \
  65.     glut_win.c \
  66.     glut_winmisc.c \
  67.     win32_x11.c \
  68.     win32_glx.c \
  69.     win32_menu.c \
  70.     win32_util.c 
  71.  
  72. OBJECTS = $(SOURCES:.c=.o)
  73.  
  74.  
  75.  
  76. ##### RULES #####
  77.  
  78. .c.o:
  79.     $(CC) -c -I$(INCDIR) $(CFLAGS) $<
  80.  
  81.  
  82.  
  83. ##### TARGETS #####
  84.  
  85. default:
  86.     @echo "Specify a target configuration"
  87.  
  88. clean:
  89.     -rm *.o *~
  90.  
  91. targets: $(LIBDIR)/$(GLUT_LIB)
  92.  
  93. # Make the library
  94. $(LIBDIR)/$(GLUT_LIB): $(OBJECTS)
  95.     $(MAKELIB) $(GLUT_LIB) $(GLUT_MAJOR) $(GLUT_MINOR) $(OBJECTS)
  96.     mv $(GLUT_LIB)* $(LIBDIR)
  97.  
  98. include ../Make-config
  99.  
  100. include depend
  101.  
  102.  
  103.  
  104. #
  105. # Run 'make dep' to update the dependencies if you change what's included
  106. # by any source file.
  107. dep: $(SOURCES)
  108.     makedepend -fdepend -Y -I../include $(SOURCES)
  109.